//
//  ScreenBrightTool.swift
//  CheckmeRing
//
//  Created by 董鹏 on 2022/2/20.
//

import UIKit

/// 屏幕亮度工具
class ScreenBrightTool {
    
    class func getScreenBrightness() -> String {
        
        guard let info = RManager.manager.info else { return "" }
        
        // 2-High    1-Medium     0-Low
        
        if info.lightStrength == "0" {
            return "低"
        }
        
        if info.lightStrength == "1" {
            return "中"
        }
        
        if info.lightStrength == "2" {
            return "高"
        }
        
        return ""
    }
}
